package day02;

public class DataTypeCastDemo {
    public static void main(String[] args) {
        /*
        long f=10000000000L;
        int g=(int)f;
        System.out.println(g);
        double a=5;
        System.out.println(a);
        long ee=56;
        ee=ee*10000000000L;
        System.out.println(ee);
        double ww=34.567;
        int ss=(int)ww;
        System.out.println(ss);
*/
        char aa='3',bb='2';
        int i=aa;
        char cc=(char)(aa+bb) ;
        System.out.println(cc);
        System.out.println(i);
        byte dd=45,re=34;
        byte ty=(byte)(dd+re);
        System.out.println(ty);
        short wer=34,dfg=45;
        short gh=(short)(wer+dfg);
        System.out.println(gh);
    }
}

